﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    [CustomAttribute(TableName = "bar_ProductBoxCode_info", Description = "箱码表")]
    public class DbProductBox
    {
        private int? _id;
        private string _barcode;
        private string _capacity;
        private string _barStatus;
        private string _warehouse;
        private string _singlepro;
        private string _procodes;
        private string _pronames;
        private string _boxcode;
        private string _number;
        private string _unit;
        private string _ascendcode;
        private string _baozhiqi;
        private string _happendate;
        private string _createuser;
        private string _createtime;
        private int? _isopen;
        private string _isfull;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 箱编码
        /// </summary>
        public string barCode
        {
            set { _barcode = value; }
            get { return _barcode; }
        }
        /// <summary>
        /// 箱容量(-1为不考虑容量)
        /// </summary>
        public string capacity
        {
            set { _capacity = value; }
            get { return _capacity; }
        }
        /// <summary>
        /// 箱状态(业务状态)
        /// </summary>
        public string barStatus
        {
            set { _barStatus = value; }
            get { return _barStatus; }
        }
        /// <summary>
        /// 仓库
        /// </summary>
        public string wareHouse
        {
            set { _warehouse = value; }
            get { return _warehouse; }
        }
        /// <summary>
        /// 存放单品
        /// </summary>
        public string singlePro
        {
            set { _singlepro = value; }
            get { return _singlepro; }
        }

        /// <summary>
        /// 箱装存货
        /// </summary>
        public string proCodes
        {
            set { _procodes = value; }
            get { return _procodes; }
        }
        /// <summary>
        /// 箱码存货名称
        ///
        /// </summary>
        public string proNames
        {
            set { _pronames = value; }
            get { return _pronames; }
        }
        /// <summary>
        /// 发生日期
        /// </summary>
        public string happenDate
        {
            set { _happendate = value; }
            get { return _happendate; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 产品追溯码
        /// </summary>
        public string ascendCode
        {
            set { _ascendcode = value; }
            get { return _ascendcode; }
        }
        /// <summary>
        /// 保质期
        /// </summary>
        public string baozhiqi
        {
            set { _baozhiqi = value; }
            get { return _baozhiqi; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 开箱标识
        /// </summary>
        public int? isOpen
        {
            set { _isopen = value; }
            get { return _isopen; }
        }
        /// <summary>
        /// 箱状态(0空1满 2未满)
        /// </summary>
        public string isFull
        {
            set { _isfull = value; }
            get { return _isfull; }
        }
        /// <summary>
        /// 初始标识
        /// </summary>
        public string isInitial { get; set; }
        /// <summary>
        /// 箱码类型
        /// </summary>
        public string types { get; set; }
        /// <summary>
        /// 托盘码类型
        /// </summary>
        public string trayCode { get; set; }
    }
}
